From: Sebastian Wick Date: Sat, 21 Jun 2025 22:10:04 +0000 (+0200) Subject: brightnessManager: Add keyboard shortcuts for monitor brightness control X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~116^2^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6b8a634282dde77144c8b5102f122fb12c66bc3e;p=gnome-shell.git brightnessManager: Add keyboard shortcuts for monitor brightness control This used to be done by g-s-d but to avoid the split brain situation, g-s-d has to stop poking at the backlight directly. This also means that there is no reason to round-trip through g-s-d anymore, and we can just implement the shortcuts in gnome shell. This also adds new shortcuts for controling the backlight of the "active monitor" (i.e. the one with the cursor) by pressing shift as well. Part-of: --- diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in index b1c2534f9..9a55ee71d 100644 --- a/data/org.gnome.shell.gschema.xml.in +++ b/data/org.gnome.shell.gschema.xml.in @@ -278,6 +278,30 @@ ["<Shift>Print"] Take a screenshot + + ['XF86MonBrightnessUp'] + Screen brightness up + + + ['<Shift>XF86MonBrightnessUp'] + Screen brightness up on current monitor + + + ['XF86MonBrightnessDown'] + Screen brightness down + + + ['<Shift>XF86MonBrightnessDown'] + Screen brightness down on current monitor + + + ['XF86MonBrightnessCycle'] + Screen brightness cycle + + + ['<Shift>XF86MonBrightnessCycle'] + Screen brightness cycle on current monitor +